<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所属城市')}:</label>
        <div class="col-xs-12 col-sm-8">
          <input id="c-pid" data-rule="required" data-source="area/index" data-params='{"custom[in_out]":"1","custom[area_type]":"1","custom[level]":"2"}' class="form-control selectpage" name="row[pid]" type="text" value="{$row.pid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('机场名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('机场简称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shortname" data-rule="required" class="form-control" name="row[shortname]" type="text" value="{$row.shortname}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('三字码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-airport_3" data-rule="required" class="form-control" name="row[airport_3]" type="text" value="{$row.airport_3}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('四字码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-airport_4" data-rule="required" class="form-control" name="row[airport_4]" type="text" value="{$row.airport_4}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
